package com.design.代理模式.m1;

public class SingerProxy implements ISinger{

	private ISinger target;
	
	public SingerProxy(ISinger target) {
		this.target = target;
	}
	
	@Override
	public void sing() {
		System.out.println("方法执行开始...");
		target.sing();
		System.out.println("方法执行完成...");
	}

	
}
